#include "stdafx.h"
#include "StatusBarHPBarPane.h"

#include "HPBarTheme.h"

CStatusBarHPBarPane::CStatusBarHPBarPane(CXTPPaintManager* pPaintManager)
{
	m_clrBarColor = RGB(0, 0, 0);
	m_pPaintManager = (CXTPProgressPaintManager*)new CHPBarTheme(pPaintManager);
}
CStatusBarHPBarPane::~CStatusBarHPBarPane()
{
}

CXTPProgressPaintManager* CStatusBarHPBarPane::GetProgressPaintManager() const
{
	return m_pPaintManager;
}

void CStatusBarHPBarPane::SetBarColor(COLORREF clrBarColor)
{
	m_clrBarColor = clrBarColor;
}

COLORREF CStatusBarHPBarPane::GetBarColor()
{
	return m_clrBarColor;
}